package org.ptkparty.client.request;

import java.util.List;

import org.ptkparty.client.model.ResultProxy;
import org.ptkparty.shared.model.ResultEntity;

import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(ResultEntity.class)
public interface ResultRequest extends RequestContext {

	Request<List<ResultProxy>> getAllForCurrentUser(String currentChampionship);

	Request<ResultProxy> findLast(String championship, String user);

}
